(function(){"use strict";BX.namespace("BX.Landing.History.Action");var e=BX.Landing.Utils.scrollTo;var n=BX.Landing.Utils.highlight;BX.Landing.History.Action.removeCard=function(t,r){return BX.Landing.PageObject.getInstance().blocks().then(function(t){var i=t.get(r.block);i.forceInit();if(!i){return Promise.reject()}var o=i.cards.getBySelector(r.selector);if(!o){return Promise.reject()}return e(o.node).then(n.bind(null,o.node)).then(function(){return i.removeCard(r.selector,true)})})}})();